<?php

/**
 * ucenter　API
 *
 * @author MrHan<hcj112@163.com>
 */
define('UC_CLIENT_PATH', dirname(dirname(__FILE__)));

//载入配置文件
require_cache(UC_CLIENT_PATH . '/Conf/config.php');

//载入函数库文件
require_cache(UC_CLIENT_PATH . '/Common/common.php');
abstract class Api
{
    protected $model;

    public function __construct()
    {
        $this->_init();
    }

    abstract protected function _init();
}
